﻿<%@page contentType="text/vnd.wap.wml; charset=utf-8"%>
<%@ page import="java.io.*"%>  
<%@ page import="java.sql.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.text.*"%>
<%@ page import="common.*"%>
<%@ page import="wapbean.*"%>

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org//DTD//wml_1.1.xml">   
<wml> 
<%
	
%>
<card id="card1" title="游戏列表">
<p align="left">

 <img src="/game3.0/img/logo.png" alt=""/><br />      

   <% 
          String CategoryID = request.getParameter("CategoryID");
	      String MobileModelID = request.getParameter("MobileModelID");
		  String ProviderID = request.getParameter("ProviderID");
	//	  String wapcategoryname = request.getParameter("gamename4");
	//    System.out.println("CategoryID111111=="+CategoryID);
	//    System.out.println("MobileModelID111111=="+MobileModelID);
	//    System.out.println("ProviderID111111=="+ProviderID);
    //      String name = new String(wapcategoryname.getBytes("iso-8859-1"),"utf-8");
		  	WapcategoryFactory Fac = new WapcategoryFactory();
		//	 Vector ver = Fac.getMobilemodelContent(CategoryID);
			 Allbean be= Fac.getWapcategoryTitel(CategoryID);
	      //   String title=be.getTitle();
	      //   session.setAttribute("title",title);
	         
	          NewFactory newF= new NewFactory();  
			Vector  ver = newF.getMobilemodelContentlist(CategoryID,MobileModelID);
	%>           
    [<%=be.getTitle()%>]   

	<br /> 
<!--	 <a href="http://wap.leyoou.cn/game3.0/StoryServlet?CategoryID=68&amp;mobileModelId=5&amp;purl=qxm787&amp;MobileName=25">免流量精彩视频下载</a><br/>          -->
	<jsp:include page="../includes/video_top.jsp"/>
			<%
   	           
					
   	                if(ver!=null){
                    int a=ver.size(); 
              
                    for(int t=0;t<a;t++){
                    Allbean bea=(Allbean)ver.elementAt(t);
                    
                    //  String CategoryID2=bea.getCategoryID();
					//  String MobileModelID=bea.getMobileModelID();
					//  String ProviderID=bea.getProviderID();
					//  System.out.println("MobileModelID==="+MobileModelID);     
					//  System.out.println("ProviderID==="+ProviderID);
                    //  System.out.println("kkkkk==="+CategoryID1); 
   	 %> 
	<a href="/game3.0/wappages/contentgame.jsp?CategoryID=<%=CategoryID%>&amp;contentId=<%=bea.getContentId()%>&amp;MobileModelID=<%=MobileModelID%>&amp;ProviderID=<%=ProviderID%>&amp;ContentResourceID=<%=bea.getContentResourceID()%>&amp;cpId=<%=bea.getCpId()%>&amp;submitCode=<%=bea.getSubmitCode()%>&amp;gameresourceid=<%=bea.getGameResourceID()%>"> 
	<%=bea.getTitle()%></a><br />       
	<%}}%>
		<a href="/game3.0">返回 </a><br />            
   
</p>		
</card>  
</wml>